<div id="grid">
    <table>
        <tr>
            <td>ID</td><td>Imię</td><td>Nazwisko</td><td>Email</td>
        </tr>
{foreach from=$page->getTable() key=myId item=i}
{strip}
        <tr bgcolor="{cycle values="#aaaaaa,#bbbbbb"}">
            {foreach from=$i item=col}
            {strip}
            <td>{$col}</td>
{/strip}
{/foreach}
        </tr>
{/strip}
{/foreach}
    </table>
{$page->getPage()}
    <form name="actionForm" action="index.php" method="POST">
        <input type="hidden" name="source" value="{$page->getPageName()}"/>
        <input type="hidden" name="page" value="{$page->getPage()}"/>
        <input type="submit" name="action" value="Next" />

        <input type="submit" name="action" value="Previous" />

    </form>
</div>